package edu.njpi.vueajax.mapper;


import edu.njpi.vueajax.model.User;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper {
    @Select("select * from tbl_user where username = #{userName} and password=#{password}")
    User getUserB(User user);

}
